home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
ada
/
c01lab4.zip
/
LRMRDR
/
LRM_CODE.ZIP
/
SYSDEP.A
< prev
Wrap
Text File
|
1992-05-29
|
5KB
|
97 lines
package SYSDEP is
-- System Dependencies Package
LRM_Files_Directory : constant STRING :=
-- "/ada2_home/local/reader/ada_lrm/"; -- GE
-- "/usr/local/swengrg/reader/ada_lrm/"; -- UC
"c:\reader\ada_lrm\"; -- PC
-- name of the directory containing the LRM DAF files "chapxx.daf";
-- be sure to follow this directory name with a separator so the
-- file name may be appended to it
Program_Name : constant STRING :=
"Ada LRM Reader 2.0";
-- this will appear on the prompt line
Print_File_Name : constant STRING :=
"lrm.log";
-- this will be created in the user's local directory
Citation_Stack_Depth : constant := 20; -- citations
-- maximum number of citations which may be PUSHed;
-- you should not have to change this
-- These values are set for a VT100 terminal and should not have to be
-- changed
Screen_Width : constant := 75; -- chars
-- maximum number of characters that can be displayed on a line
-- without wrap; this is set to allow right and left margins and
-- markers you should not have to change this
Text_Line_Count : constant := 22; -- lines
Command_Line_Number : constant := 23; -- line number
Error_Message_Line_Number : constant := 24; -- line number
Screen_String_Length : constant := 78; -- characters
Search_Pointer_Column : constant := 79; -- column number
-- Line count, line numbers, and column numbers for VT100 display
-- you should not have to change this
-- These values are picked up from an examination of the text files
-- of the Ada LRM; they represent a slight increase over the values
-- actually determined from the examination in order to allow for
-- a minor growth.
Max_String_Length : constant := 110; -- chars
-- for command line and file line input;
-- you should not have to change this
Max_Number_of_Citations : constant := 40; -- citations per file
-- based on number of citations in each file;
-- you should not have to change this
Total_Number_of_Citations : constant := 230; -- citations in all files
-- based on a count of the citations in all files;
-- you should not have to change this
Max_Number_of_Screens : constant := 6000/(Text_Line_Count) + 1;
-- based on number of lines in largest file (chapin.doc);
-- you should not have to change this
-- These lines consistute the copyright message displayed by this program
-- on startup. Do not modify them. These lines also serve as the
-- copyright notice for this file.
subtype COPYRIGHT_STRING is STRING (1..60);
type COPYRIGHT_NOTICE is array (NATURAL range <>) of COPYRIGHT_STRING;
Full_Copyright_Notice : constant COPYRIGHT_NOTICE := (
-- " 1 2 3 4 5 6"
-- "123456789012345678901234567890123456789012345678901234567890"
"Ada LRM Reader - Interactive Presentation of the Ada LRM ",
"Copyright (C) 1992 Richard Conn ",
" ",
"This program is free software; you can redistribute it ",
"and/or modify it under the terms of the GNU General Public ",
"License Version 1 as published by the Free Software ",
"Foundation. ",
" ",
"This program is distributed in the hope that it will be ",
"useful, but WITHOUT ANY WARRANTY; without even the implied ",
"warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ",
"PURPOSE. See the GNU General Public License for more ",
"details. You should have received a copy of the GNU General",
"Public License along with this program; if not, write to the",
"Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA ",
"02139, USA. See the ABOUT screens for further information, ",
"including information on how to contact the author. ");
Intro_Copyright_Notice : constant COPYRIGHT_NOTICE := (
"Ada LRM Reader - Interactive Presentation of the Ada LRM ",
"Copyright (C) 1992 Richard Conn ",
" ",
"The Ada LRM Reader comes with ABSOLUTELY NO WARRANTY. This ",
"program is free software, and you are welcome to distribute ",
"it under certain conditions. Type the ABOUT command when in",
"the program or read the file 0LICENSE.GNU for details. ",
" ");
end SYSDEP;